﻿using System;
using System.Configuration;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.Common;
using System.Data.SqlClient;

namespace mojoPortal.Web.RS
{
    public class ReadyServiceUser
    {
        public mojoPortal.Business.SiteUser siteUser;
        public ReadyServiceUser()
        {
            siteUser = mojoPortal.Web.SiteUtils.GetCurrentSiteUser();
        }

        public int UserId
        {
            get
            {
                return siteUser.UserId;
            }
            set
            {
                UserId = value;
            }
        }

        public string FirstName
        {
            get
            {
                return siteUser.FirstName;
            }
            set
            {
                FirstName = value;
            }
        }
        public string LastName
        {
            get
            {
                return siteUser.LastName;
            }
            set
            {
                LastName = value;
            }
        }
        public string Email
        {
            get
            {
                return siteUser.Email;
            }
            set
            {
                Email = value;
            }
        }
        public string LoginName
        {
            get
            {
                return siteUser.LoginName;
            }
            set
            {
                LoginName = value;
            }
        }
        public string Password
        {
            get
            {
                return siteUser.Password;
            }
            set
            {
                Password = value;
            }
        }
        public string MobilePin
        {
            get
            {
                return siteUser.MobilePin;
            }
            set
            {
                MobilePin = value;
            }
        }
        public int RSEmployeeId { get; set; }
        public int RSCompanyId { get; set; }
        public int RSReportsTo { get; set; }
        public string RSCompanyName { get; set; }
        public string RSCompanyEmail { get; set; }
        public string RSCompanyPhone { get; set; }
        public string RSCurrentUser { get; set; }
        public string RSFirstName { get; set; }
        public string RSLastName { get; set; }
        public string RSRoleName { get; set; }
        public string RSGroupName { get; set; }
        public string RSSpecialPermission { get; set; }
        public bool RSCanWrite { get; set; }
        public bool RSCanRead { get; set; }
        public bool RSCanDelete { get; set; }
        public bool RSIsUserAuthenticated { get; set; }
        public bool RSIsLicAgent { get; set; }
        public string RSPhotoPath { get; set; }
        public string RSAttachmentPath { get; set; }
    }

}